home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar - Compleat Programmer
/
comprog1.d81
/
b.state tables
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-28
|
1KB
|
32 lines
10 dv=peek(186):ifdv<8thendv=8
100 poke53281,0:print"[147] [155][204]oading [205][204]..."
110 sys57812"state tables.o",dv,0:poke780,0:poke781,0:poke782,192:sys65493
120 :
130 print"[147] [208]ress any key to begin..."
140 print" [152]([215]hile the demo is running, press"
150 print" any key to return to [204][207][193][196][211][212][193][210])[159]"
160 geta$:ifa$=""then160
170 sys49152
200 print"[147][154] [206]otice that the pattern doesn't
210 [153]" follow the usual peeklack - (NULL)hite -"
220 [153]" (NULL)ed - lenyan - (NULL)urple, etc. sequence.
230 print" [193] state table allows you to create
240 [153]" ascatn(NULL)(NULL) custom patterns. (NULL)he trade-off"
250 [153]" is that you must create the state
260 print" table beforehand.
300 [153]" ((NULL)open)ee demo again ((NULL)open)uit to (NULL)(NULL)atnstr$(NULL)(NULL)atn(NULL)"
310 [161]a$:[139]a$[179][177]"s"[175]a$[179][177]"q"[167]310
320 [139]a$[178]"s"[167]170
330 [137]40000
10000 [159]15,8,15,"s0:bits":[160]15:[148]"bits",8:[128]
40000 [129]i[178]0[164]21:[151]828[170]i,8[170]i:[130]
40010 [139]dv[179]8[176]dv[177]29[176]dv[178]8[167]40030
40020 a[178][194](828):b[178][194](828[170]dv[171]8):[151]828,b:[151]828[170]dv[171]8,a
40030 a$[178]"hello connect":[129]j[178]8[164]29:i[178][194](828[170]j[171]8):[139]i[178]14[167][130]
40040 [160]2:[159]2,i,2:[160]2:[139]st[167]40060
40050 [160]15:[159]15,i,15,"r0:"[170]a$[170]"="[170]a$:[132]15,er:[160]15:[139]er[178]63[167]40070
40060 [130]:[153]"load":[151]53272,23:[151]186,8:[128]
40070 q$[178][199](34):[151]646,[194](53281):[153]"load":[151]53272,23
40080 [153]"loadp(NULL)2048,0:p(NULL)44,8:p(NULL)43,1:p(NULL)56,160:p(NULL)55,0:clr:l(NULL)"q$a$q$","i
40090 [153]"run:":[151]631,13:[151]632,13:[151]198,2:[128]